package javaconfig.service;

import javaconfig.mapper.JavaConfigMockMapper;

import java.util.List;

public class JavaConfigMockService {

    private JavaConfigMockMapper mockMapper;

    public void setMockMapper(JavaConfigMockMapper mockMapper) {
        this.mockMapper = mockMapper;
    }

    public String listIds() {
        List<Integer> ids = mockMapper.selectAll();
        return ids.toString();
    }

}
